<!-- userEditForm.php 用于显示要更新的用户信息的表单。 -->
<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改类别信息</title>
 </head>
 <body background="upload/10082202447e3a23df3e842fe8.jpg">
 <?php
    
   //var_dump($row); 
   $id = $re[0]['tid'];  
   $typename = $re[0]['typename'];
     
	//将查询结果显示在表单中
 ?>

<form method="post"  action="admin.php?c=type&m=update"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<caption>修改类别</caption>
<tr>
  <td width="20%">tid</td>
  <td width="80%"><?php  echo $id;  ?>
  <input type="hidden" name="tid" value=<?php  echo $id;  ?>>  
  </td>
</tr>
<tr>
  <td>姓名：</td>
  <td><input type="text" name="typename" size=30  value=<?php  echo $typename;  ?>></td>
</tr>
<tr>
  <td colspan="2">
  <input type="submit" value="提交">
    <input type="reset" value="重置">
  </td>
  </tr>
</table>

</form>
 </body>
</html>